<?php
# Try to match columns in each tables of OC DB.

$database = 'mysql';
$username = 'root';
$password = '';
$hostname = 'localhost';

# Manage skip list of tables (regular expression patterns)
$invalid_tables_regular_expressions = array(
	# Invalid naming conventions
	'/^_/',
	'/__/',
	'/_$/',
);

# Manage skip list of columns (full name)
$skip_columns = array(
	'subdomain_id',
	'added_on',
	'fixed_on',
	'modified_on',
	'modified_counter',
	'impressions_counter',
	'sink_weight',
	'is_active',
	'is_approved',
	'is_featured',
	'allow_edit',
	'allow_customization',
	'created_on',
	'expire_on',
	'expiry_on',
	'expires_on',
	'is_admin',
	'is_commercial',
	'is_reported',
	'is_system',
	'is_urgent',
	'logged_on',
);

# based on your requirements
$skip_tables = array(
    'business_companies',
);

mysql_connect($hostname, $username, $password) or die('Cannot connect to the database.');
mysql_select_db($database) or die("Cannot use the database {$database}");

header('Content-Type: text/plain');
?>